package com.dingding.web.activity;

import javax.annotation.Resource;

import com.dingding.common.core.base.dto.ResponseEntity;
import com.dingding.facde.activity.dto.shareplan.ResSharePlan;
import com.dingding.facde.activity.service.IActivityShowService;
import com.dingding.web.base.action.BaseAction;

/**
 * @Description:共享计划action
 * @author fengshuonan
 * @date 2016年8月8日 下午4:52:56
 * @version 叮叮搭车
 * @since 2.4
 */
public class SharePlanAction extends BaseAction{

	@Resource(name = "activityShowService")
	private IActivityShowService activityShowService;
	
	/**
	 * @Description:获取共享计划列表
	 * @author fengshuonan
	 * @since 2.4
	 */
	public String getSharePlanList(){
		
		String cityNo = super.getPara("cityNo");
		ResponseEntity<ResSharePlan> response = this.activityShowService.getSharePlanList(cityNo);
		super.writeResponseJsonp(response.getCode(), response.getPromptMessage(), response.getResponseBody());
		return NONE;
	}
}
